const state = {
  model: {}
}
const actions = {
    setModel({ state, commit },data){
        commit('setModel',data)
    }
}
const mutations = {
    setModel(state,data){
        state.model = {
            ...data
        }
    }
}
const getters = {

}

export default {
  state,
  actions,
  mutations,
getters}
